package io.summer.gadget.channel.core;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Moonlight
 */
@Getter
@Setter
public class ChannelRequest {
  @Override
  public String toString() {
    return String.format("(topic=%s, from=%s, data=%s)", topic, from, new String(data));
  }

  private String topic;
  private String from;
  private byte[] data;
}
